<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<input type="hidden" name="zh_parsen/fzr_name" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name"/>" />
<input type="hidden" name="zh_parsen/fzr_mobile" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile"/>" />
<input type="hidden" name="zh_parsen/fzr_tel" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work"/>" />
<input type="hidden" name="zh_parsen/fzr_email" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email"/>" />
<div class="t_bar">
	<span class="color_red">*</span>
	项目基本情况
</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basic_tb2" cellspacing="1">
	<col style="width: 25%" />
	<col style="width: 25%" />
	<col style="width: 25%" />
	<col style="width: 25%" />
	<tr class="li_1">
		<td align="right">项目名称：</td>
		<td colspan="3">
			<input type='text' name='proposal/zh_title' id='zh_title' style="width: 87%" class="input_css required" maxlength="200" value='<x:out select="$xmlData/data/proposal/zh_title"/>' label="项目名称">
		</td>
	</tr>
	<tr class="li_2">
		<td align="right">归口管理部门：</td>
		<td colspan="3">
			<c:set var="recomend_org">{'id':'<x:out select="$xmlData/data/proposal/recomend_org_value" />','name':'<x:out select="$xmlData/data/proposal/recomend_org_name" />'}</c:set>
			<cpt:tree key="recomend_org_gk" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${recomend_org}" label="归口管理部门" id="recomend_org" onlyChooseLeaf="false" showPattern="all"
				shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
			<input type="hidden" id="recomend_org_value" name="proposal/recomend_org_value" class="required" value="<x:out select="$xmlData/data/proposal/recomend_org_value" />" label="归口管理部门">
			<input type="hidden" name="proposal/recomend_org_name" value="<x:out select="$xmlData/data/proposal/recomend_org_name" />">

		</td>
	</tr>
	<tr class="li_1">
		<td align="right">项目联系人姓名：</td>
		<td>
			<input name="proposal/contact_psn_cname" label="项目联系人姓名" type="text" required class="required maxlength:30" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />" />
		</td>
		<td align="right">联系人手机：</td>
		<td>
			<input name="proposal/contact_psn_mobile" label="联系人手机" type="text" required class="required mobile" onfocus="InitInput.setNumber(this,11,0,0);"
				value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />" />
		</td>
	</tr>
	<tr class="li_2">
		<td align="right">单位自筹资金（万元）：</td>
		<td>
			<input type='text' name='proposal/request_bank' class="required" id='request_bank' onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;"
				value='<x:out select="$xmlData/data/proposal/request_bank"/>' label="单位自筹资金">
		</td>
		<td align="right">项目申请金额（万元）：</td>
		<td>
			<input type='text' name='proposal/request_money' class="required" id='request_money' onfocus="InitInput.setNumber(this,9,2,2)" style="text-align: right;"
				value='<x:out select="$xmlData/data/proposal/request_money"/>' label="项目申请金额">
		</td>
	</tr>
	<tr class="li_1">
		<td align="right" >
			项目报审级次：
			<br />
			（省补助资金拨付所属财政局）
		</td>
		<td colspan="3">
			<c:set var="sub_step">{'id':'<x:out select="$xmlData/data/proposal/sub_step_value" />','name':'<x:out select="$xmlData/data/proposal/sub_step_name" />'}</c:set>
			<cpt:tree key="sub_step" cacheable="false" className="hn_iuput_kuang  gray" readonly="true" value="${sub_step}" label="项目报审级次" id="sub_step" onlyChooseLeaf="false" showPattern="all"
				shieldPattern="0" topCheckbox="true" onClick="initTreeValueExt" />
			<input id="sub_step_value" type="hidden" name="proposal/sub_step_value" class="required" label="项目报审级次" value="<x:out select="$xmlData/data/proposal/sub_step_value" />" />
			<input id="sub_step_name" type="hidden" name="proposal/sub_step_name" value="<x:out select="$xmlData/data/proposal/sub_step_name" />" />
		</td>
		
	</tr>
	<tr class="li_2">
		<td align="right">是否省级示范中心：</td>
		<td colspan="3">
			<cpt:checkbox key="is_or_no" name="proposal/is_no" repeatColumn="3" onClick="sureInput1();" tagType="radio"></cpt:checkbox>
			<input type="hidden" id="is_no_value" name="proposal/is_no_value" class="required" label="是否省级示范中心" value="<x:out select="$xmlData/data/proposal/is_no_value" />">
			<input type="hidden" name="proposal/is_no_name" value="<x:out select="$xmlData/data/proposal/is_no_name" />">
		</td>
	</tr>
	<tr class="li_1">
		<td align="right">上级批文机关：</td>
		<td>
			<input type='text' name='proposal/authorities' id='authorities' class="inpu required" maxlength="200" value='<x:out select="$xmlData/data/proposal/authorities"/>' label="上级批文机关">
		</td>
		<td align="right">批文时间：</td>
		<td>
			<c:set var="evaluation_time">
				<x:out select="$xmlData/data/proposal/evaluation_time" />
			</c:set>
			<cpt:date id="evaluation_time" name="proposal/evaluation_time" value="${evaluation_time}" className="required date" label="批文时间"></cpt:date>
		</td>
	</tr>
	<tr class="li_2" id="first">
		<td align="right" rowspan="3">上年度绩效评价结果：</td>
		<td align="right">类别：</td>
		<td colspan="2">
			<input type='text' name='proposal/category' id='category' class="inpu required" maxlength="200" value='<x:out select="$xmlData/data/proposal/category"/>' label="上年度绩效评价结果-->类别">
		</td>
	</tr>

	<tr class="li_1" id="second">
		<td align="right">排名：</td>
		<td colspan="2">
			<input type='text' name='proposal/ranking' id='ranking' class="inpu required" maxlength="200" value='<x:out select="$xmlData/data/proposal/ranking"/>' label="上年度绩效评价结果-->排名">
		</td>
	</tr>
	<tr class="li_2" id="third">
		<td align="right">评价单位：</td>
		<td colspan="2">
			<input type='text' name='proposal/evaluated' id='evaluated' class="inpu required" maxlength="200" value='<x:out select="$xmlData/data/proposal/evaluated"/>' label="上年度绩效评价结果-->评价单位">
		</td>
	</tr>
	  <tr class="li_1">
	    	<td align="right">经费用途（限280字）：</td>
	    	<td colspan="3">
	    		<textarea name="proposal/tech_assign" style="width:98%" class="input_textarea required maxlength:280"  label="经费用途"   rows=10 cols=60><x:out select="$xmlData/data/proposal//tech_assign" /></textarea>
				<input type="hidden" name="proposal/tech_assign_hidden" id="project/tech_assign_hidden" value="<x:out select="$xmlData/data/proposal/tech_assign_hidden" />"/>
	    	</td>
	    	 
	    </tr>
</table>
<script type="text/javascript">
	function initTreeValueExt(treeId, treeNode) {
		if ((treeNode && treeNode.isParent)) {
			scmWarn("请选择具体的" + $("#" + treeId).attr("label"));
			$("#" + treeId).val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val("");
			$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val("");
			return false;
		}
		var str = treeNode.name;
		var obj = treeNode.parentNode;
		while (obj != null) {
			str = obj.name + "-" + str;
			obj = obj.parentNode;
		}

		$("#" + treeId).parents("td").find("[name$='" + treeId + "_code'],[id$='" + treeId + "_code']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_value'],[id$='" + treeId + "_value']").val(treeNode.id);
		$("#" + treeId).parents("td").find("[name$='" + treeId + "_name'],[id$='" + treeId + "_name']").val(str);
	}
</script>
